function SuperType(name){
    this.name = name
}
function SubType(){
    //继承了SuperType，同时还传递了参数
    SuperType.call(this,'moyu')
    this.age = 23
}
var per = new SubType()
console.log(per.name)
console.log(per.age)
